﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ReceivePrint" targetNamespace="http://tempuri.org/ReceivePrint.xsd" xmlns:mstns="http://tempuri.org/ReceivePrint.xsd" xmlns="http://tempuri.org/ReceivePrint.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="ePlanetNETConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ePlanetNETConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.ePlanetNETConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="WH_ReceiveTableAdapter" GeneratorDataComponentClassName="WH_ReceiveTableAdapter" Name="WH_Receive" UserDataComponentName="WH_ReceiveTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ePlanetNETConnectionString (Web.config)" DbObjectName="ePlanetNET.dbo.WH_Receive" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[WH_Receive] WHERE (([ReceiveID] = @Original_ReceiveID))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ReceiveID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ReceiveID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[WH_Receive] ([ReceiveID], [Status], [VoucherTypeID], [ReceiveBy], [VendorID], [POID], [CurrencyID], [AccountingCurrencyID], [CreateBy], [WHID], [ApproveBy], [ReceiveNO], [ReceiveDate], [SumTotalPrice], [ExchangeRate], [AccountingTotalPrice], [ApproveDate], [CreateDate], [Remark]) VALUES (@ReceiveID, @Status, @VoucherTypeID, @ReceiveBy, @VendorID, @POID, @CurrencyID, @AccountingCurrencyID, @CreateBy, @WHID, @ApproveBy, @ReceiveNO, @ReceiveDate, @SumTotalPrice, @ExchangeRate, @AccountingTotalPrice, @ApproveDate, @CreateDate, @Remark)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ReceiveID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ReceiveID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@VoucherTypeID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="VoucherTypeID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ReceiveBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ReceiveBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@VendorID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="VendorID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@POID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="POID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CurrencyID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CurrencyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AccountingCurrencyID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AccountingCurrencyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CreateBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CreateBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@WHID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="WHID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ApproveBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ApproveBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ReceiveNO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ReceiveNO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ReceiveDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ReceiveDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SumTotalPrice" Precision="20" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="SumTotalPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ExchangeRate" Precision="20" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="ExchangeRate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@AccountingTotalPrice" Precision="20" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="AccountingTotalPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ApproveDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ApproveDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreateDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ReceiveID, Status, VoucherTypeID, ReceiveBy, VendorID, POID, CurrencyID, AccountingCurrencyID, CreateBy, WHID, ApproveBy, ReceiveNO, ReceiveDate, SumTotalPrice, ExchangeRate, AccountingTotalPrice, ApproveDate, CreateDate, Remark, TS FROM dbo.WH_Receive</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[WH_Receive] SET [ReceiveID] = @ReceiveID, [Status] = @Status, [VoucherTypeID] = @VoucherTypeID, [ReceiveBy] = @ReceiveBy, [VendorID] = @VendorID, [POID] = @POID, [CurrencyID] = @CurrencyID, [AccountingCurrencyID] = @AccountingCurrencyID, [CreateBy] = @CreateBy, [WHID] = @WHID, [ApproveBy] = @ApproveBy, [ReceiveNO] = @ReceiveNO, [ReceiveDate] = @ReceiveDate, [SumTotalPrice] = @SumTotalPrice, [ExchangeRate] = @ExchangeRate, [AccountingTotalPrice] = @AccountingTotalPrice, [ApproveDate] = @ApproveDate, [CreateDate] = @CreateDate, [Remark] = @Remark WHERE (([ReceiveID] = @Original_ReceiveID))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ReceiveID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ReceiveID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@VoucherTypeID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="VoucherTypeID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ReceiveBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ReceiveBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@VendorID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="VendorID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@POID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="POID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CurrencyID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CurrencyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@AccountingCurrencyID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="AccountingCurrencyID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CreateBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CreateBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@WHID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="WHID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ApproveBy" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ApproveBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ReceiveNO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ReceiveNO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ReceiveDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ReceiveDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SumTotalPrice" Precision="20" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="SumTotalPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ExchangeRate" Precision="20" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="ExchangeRate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@AccountingTotalPrice" Precision="20" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="AccountingTotalPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ApproveDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ApproveDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreateDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Remark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Remark" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ReceiveID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ReceiveID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ReceiveID" DataSetColumn="ReceiveID" />
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
              <Mapping SourceColumn="VoucherTypeID" DataSetColumn="VoucherTypeID" />
              <Mapping SourceColumn="ReceiveBy" DataSetColumn="ReceiveBy" />
              <Mapping SourceColumn="VendorID" DataSetColumn="VendorID" />
              <Mapping SourceColumn="POID" DataSetColumn="POID" />
              <Mapping SourceColumn="CurrencyID" DataSetColumn="CurrencyID" />
              <Mapping SourceColumn="AccountingCurrencyID" DataSetColumn="AccountingCurrencyID" />
              <Mapping SourceColumn="CreateBy" DataSetColumn="CreateBy" />
              <Mapping SourceColumn="WHID" DataSetColumn="WHID" />
              <Mapping SourceColumn="ApproveBy" DataSetColumn="ApproveBy" />
              <Mapping SourceColumn="ReceiveNO" DataSetColumn="ReceiveNO" />
              <Mapping SourceColumn="ReceiveDate" DataSetColumn="ReceiveDate" />
              <Mapping SourceColumn="SumTotalPrice" DataSetColumn="SumTotalPrice" />
              <Mapping SourceColumn="ExchangeRate" DataSetColumn="ExchangeRate" />
              <Mapping SourceColumn="AccountingTotalPrice" DataSetColumn="AccountingTotalPrice" />
              <Mapping SourceColumn="ApproveDate" DataSetColumn="ApproveDate" />
              <Mapping SourceColumn="CreateDate" DataSetColumn="CreateDate" />
              <Mapping SourceColumn="Remark" DataSetColumn="Remark" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="ReceivePrint" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_DataSetName="ReceivePrint" msprop:Generator_UserDSName="ReceivePrint" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="WH_Receive" msprop:Generator_UserTableName="WH_Receive" msprop:Generator_RowDeletedName="WH_ReceiveRowDeleted" msprop:Generator_TableClassName="WH_ReceiveDataTable" msprop:Generator_RowChangedName="WH_ReceiveRowChanged" msprop:Generator_RowClassName="WH_ReceiveRow" msprop:Generator_RowChangingName="WH_ReceiveRowChanging" msprop:Generator_RowEvArgName="WH_ReceiveRowChangeEvent" msprop:Generator_RowEvHandlerName="WH_ReceiveRowChangeEventHandler" msprop:Generator_TablePropName="WH_Receive" msprop:Generator_TableVarName="tableWH_Receive" msprop:Generator_RowDeletingName="WH_ReceiveRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ReceiveID" msprop:Generator_UserColumnName="ReceiveID" msprop:Generator_ColumnPropNameInRow="ReceiveID" msprop:Generator_ColumnVarNameInTable="columnReceiveID" msprop:Generator_ColumnPropNameInTable="ReceiveIDColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInTable="StatusColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="128" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="VoucherTypeID" msprop:Generator_UserColumnName="VoucherTypeID" msprop:Generator_ColumnPropNameInRow="VoucherTypeID" msprop:Generator_ColumnVarNameInTable="columnVoucherTypeID" msprop:Generator_ColumnPropNameInTable="VoucherTypeIDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ReceiveBy" msprop:Generator_UserColumnName="ReceiveBy" msprop:Generator_ColumnPropNameInRow="ReceiveBy" msprop:Generator_ColumnVarNameInTable="columnReceiveBy" msprop:Generator_ColumnPropNameInTable="ReceiveByColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="VendorID" msprop:Generator_UserColumnName="VendorID" msprop:Generator_ColumnPropNameInRow="VendorID" msprop:Generator_ColumnVarNameInTable="columnVendorID" msprop:Generator_ColumnPropNameInTable="VendorIDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="POID" msprop:Generator_UserColumnName="POID" msprop:Generator_ColumnPropNameInRow="POID" msprop:Generator_ColumnVarNameInTable="columnPOID" msprop:Generator_ColumnPropNameInTable="POIDColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CurrencyID" msprop:Generator_UserColumnName="CurrencyID" msprop:Generator_ColumnPropNameInRow="CurrencyID" msprop:Generator_ColumnVarNameInTable="columnCurrencyID" msprop:Generator_ColumnPropNameInTable="CurrencyIDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AccountingCurrencyID" msprop:Generator_UserColumnName="AccountingCurrencyID" msprop:Generator_ColumnPropNameInRow="AccountingCurrencyID" msprop:Generator_ColumnVarNameInTable="columnAccountingCurrencyID" msprop:Generator_ColumnPropNameInTable="AccountingCurrencyIDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CreateBy" msprop:Generator_UserColumnName="CreateBy" msprop:Generator_ColumnPropNameInRow="CreateBy" msprop:Generator_ColumnVarNameInTable="columnCreateBy" msprop:Generator_ColumnPropNameInTable="CreateByColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="WHID" msprop:Generator_UserColumnName="WHID" msprop:Generator_ColumnPropNameInRow="WHID" msprop:Generator_ColumnVarNameInTable="columnWHID" msprop:Generator_ColumnPropNameInTable="WHIDColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ApproveBy" msprop:Generator_UserColumnName="ApproveBy" msprop:Generator_ColumnPropNameInRow="ApproveBy" msprop:Generator_ColumnVarNameInTable="columnApproveBy" msprop:Generator_ColumnPropNameInTable="ApproveByColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ReceiveNO" msprop:Generator_UserColumnName="ReceiveNO" msprop:Generator_ColumnPropNameInRow="ReceiveNO" msprop:Generator_ColumnVarNameInTable="columnReceiveNO" msprop:Generator_ColumnPropNameInTable="ReceiveNOColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ReceiveDate" msprop:Generator_UserColumnName="ReceiveDate" msprop:Generator_ColumnPropNameInRow="ReceiveDate" msprop:Generator_ColumnVarNameInTable="columnReceiveDate" msprop:Generator_ColumnPropNameInTable="ReceiveDateColumn" type="xs:dateTime" />
              <xs:element name="SumTotalPrice" msprop:Generator_UserColumnName="SumTotalPrice" msprop:Generator_ColumnPropNameInRow="SumTotalPrice" msprop:Generator_ColumnVarNameInTable="columnSumTotalPrice" msprop:Generator_ColumnPropNameInTable="SumTotalPriceColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ExchangeRate" msprop:Generator_UserColumnName="ExchangeRate" msprop:Generator_ColumnPropNameInRow="ExchangeRate" msprop:Generator_ColumnVarNameInTable="columnExchangeRate" msprop:Generator_ColumnPropNameInTable="ExchangeRateColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="AccountingTotalPrice" msprop:Generator_UserColumnName="AccountingTotalPrice" msprop:Generator_ColumnPropNameInRow="AccountingTotalPrice" msprop:Generator_ColumnVarNameInTable="columnAccountingTotalPrice" msprop:Generator_ColumnPropNameInTable="AccountingTotalPriceColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ApproveDate" msprop:Generator_UserColumnName="ApproveDate" msprop:Generator_ColumnPropNameInRow="ApproveDate" msprop:Generator_ColumnVarNameInTable="columnApproveDate" msprop:Generator_ColumnPropNameInTable="ApproveDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="CreateDate" msprop:Generator_UserColumnName="CreateDate" msprop:Generator_ColumnPropNameInRow="CreateDate" msprop:Generator_ColumnVarNameInTable="columnCreateDate" msprop:Generator_ColumnPropNameInTable="CreateDateColumn" type="xs:dateTime" />
              <xs:element name="Remark" msprop:Generator_UserColumnName="Remark" msprop:Generator_ColumnPropNameInRow="Remark" msprop:Generator_ColumnVarNameInTable="columnRemark" msprop:Generator_ColumnPropNameInTable="RemarkColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="512" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:WH_Receive" />
      <xs:field xpath="mstns:ReceiveID" />
    </xs:unique>
  </xs:element>
</xs:schema>